  <% if flash[:alert] %>
    <p id="notice"><%= flash[:alert] %></p>
  <% end %>

<div id="loginbox">
  <fieldset>
    <legend><%= t(".title") %></legend>
    <%= form_tag do %>

    <div class="username">
      <label for="username"><%= User.human_attribute_name("username") %>:</label>
      <%= text_field_tag :username, params[:username] %>
    </div>
    <div class="password">
      <label for="password"><%= User.human_attribute_name("password") %>:</label>
      <%= password_field_tag :password, params[:password] %>
    </div>
    <div class="submit">
      <%= submit_tag t("login") %>
    </div>
    <% end %>

  </fieldset>
</div>
